package test;

import java.util.stream.IntStream;

/**
 * @Author: Jamie Nie
 * @Date: 2021/7/1 16:52
 * @Slogan: The harder you work, the more luck you have.
 * @desc:
 */
public class ThreadDefaultName {
    public static void main(String[] args) {
        IntStream.range(0, 100).boxed().map(i -> new Thread(
                () -> System.out.println(Thread.currentThread().getName())
        )).forEach(Thread:: start);
    }
}
